package expression;

/**
 * Created by luyajie on 2017/1/3.
 *
 * 并且表达式
 * 通过&符号进行使用
 */
@ExpressionAn(text = "&", common = "并且", rank = 10)
public class AndExpression implements Expression {
    public Object exec(Object... objs) {
        return Boolean.valueOf(objs[1].toString()) && Boolean.valueOf(objs[2].toString());
    }
}
